=cmd]
So, I thought \testpage or \checkpage here could be a solution. However, the
vertical stretching algorithm seems to interfere with \testpage in some way as
the example below tries to illustrate. Can anyone confirm this? Is this a bug
or am I missing something
Hagen pra...@wxs.nl:
On 1/31/2014 10:46 AM, Keith J. Schultz wrote:
Personally, I find the names used sub-optimal!
we had testpage and that one stays anyway and checkpage is close to that
(overloading testpage with a new syntax is messy)
I would think something like conditionalbreak
On 2/1/2014 10:15 AM, Keith J. Schultz wrote:
Hi Hans,
how about the \ifleftonpage, or something like that?
\if
is reserved for 'real' ifs
-
Hans Hagen | PRAGMA ADE
as an added layer on top
of testpage!
At least the test is if X lines left on page or still fit on page!
I also have a question. Are the commands setuppagechecker sothat
\definepagechecker[whatever]
\setuppagechecker[whatever]
[lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par
On 1/31/2014 10:46 AM, Keith J. Schultz wrote:
Personally, I find the names used sub-optimal!
we had testpage and that one stays anyway and checkpage is close to that
(overloading testpage with a new syntax is messy)
I would think something like conditionalbreak or conditionalpagebreak
Hi there,
I asked a similar question before, but I try it again (in a bit
different way):
The command \testpage[n] Paragraph sets the next paragraph on the next
page, if there are less than n lines left on the current page. I use
this command very often, but need it with some extension
On 1/30/2014 10:37 AM, H. Özoguz wrote:
Hi there,
I asked a similar question before, but I try it again (in a bit
different way):
The command \testpage[n] Paragraph sets the next paragraph on the next
page, if there are less than n lines left on the current page. I use
this command very often
use case needed
Here two cases to compare:
1.
\setupindenting[yes, 9pt, first]
\starttext
\noindentation\input knuth\\
\input knuth\blank \noindentation
\input knuth
\testpage[35]\noindentation\input knuth
\stoptext
2.
\setupindenting[yes, 9pt, first]
\starttext
\noindentation\input knuth
On 1/30/2014 12:34 PM, H. Özoguz wrote:
use case needed
Here two cases to compare:
1.
\setupindenting[yes, 9pt, first]
\starttext
\noindentation\input knuth\\
\input knuth\blank \noindentation
\input knuth
\testpage[35]\noindentation\input knuth
\stoptext
2.
\setupindenting[yes, 9pt, first
Hello together,
normally I want intendation for new paragraphs, but not, if the
paragraph is set on the next page by \testpage.
See this minexample:
\setupindenting[yes, 9pt,first]
\starttext
\input knuth
\testpage[35] \input knuth
\stoptext
Or more general: No indentation of paragraphs
. Özoguz h.oezo...@mmnetz.de wrote:
Hello together,
normally I want intendation for new paragraphs, but not, if the paragraph
is set on the next page by \testpage.
See this minexample:
\setupindenting[yes, 9pt,first]
\starttext
\input knuth
\testpage[35] \input knuth
\stoptext
Or more
Hi,
for subsections I use
\setuphead[subsection]
[after=\vskip-1.6mm,
before={\testpage[5]\vskip1.6mm}]
The reason is perfect distances between text-subsection-text with
activated gridding.
If the subsection is not set by \testpage on the next page, then
everything workes fine
Am 18.04.2013 um 17:44 schrieb H. Özoguz h.oezo...@mmnetz.de:
Hi,
for subsections I use
\setuphead[subsection]
[after=\vskip-1.6mm,
before={\testpage[5]\vskip1.6mm}]
The reason is perfect distances between text-subsection-text with activated
gridding.
If the subsection
[subsection]
[after=\vskip-1.6mm,
before={\testpage[5]\vskip1.6mm}]]
\starttext
\dorecurse{18}{Linefill\\}
\input tufte
\subsection{Hallo}
\input tufte
\subsection{Hallo}
\input tufte \input tufte
\stoptext
Huseyin
]
[after=\vskip-1.6mm,
before={\testpage[5]\vskip1.6mm}]]
Don’t use such odd values for the spaces before/after the heading which don’t
make
sense when you use the grid. When you have a heading with more text or a bigger
font
size try to change the value for the grid-key in \setuphead
=yes]
\showgrid
\setuphead[subsection]
[before={\testpage[5]\blank[2*line]}]
\setuphead[grid=high]
\starttext
\dorecurse{15}{Linefill\\}
\input tufte
\subsection{Hallo}
\input tufte
\subsection{Hallo}
\input tufte \input tufte
\stoptext
But it is not good as my original, and the so the values make
Am 14.07.2012 um 00:32 schrieb Hans Hagen:
On 13-7-2012 10:02, Wolfgang Schuster wrote:
Hi Hans,
can you add a testpage option to \setuphead?
%\setuphead[section][testpage=4]
\setuphead[section][before={\testpage[4]\blank[2*big]}]
\starttext
\section{First}
\dorecurse{36}{Line
Hi Hans,
can you add a testpage option to \setuphead?
%\setuphead[section][testpage=4]
\setuphead[section][before={\testpage[4]\blank[2*big]}]
\starttext
\section{First}
\dorecurse{36}{Line \recurselevel\par}
\section{Second}
\dorecurse{36}{Line \recurselevel\par}
\stoptext
Wolfgang
On 13-7-2012 10:02, Wolfgang Schuster wrote:
Hi Hans,
can you add a testpage option to \setuphead?
%\setuphead[section][testpage=4]
\setuphead[section][before={\testpage[4]\blank[2*big]}]
\starttext
\section{First}
\dorecurse{36}{Line \recurselevel\par}
\section{Second}
\dorecurse{36
19 matches
Mail list logo